import matplotlib.pyplot as plt
score=[107,77,94,87,90,95,92,93,86,101,85,76,96,99,110,89,101,110,97,83,85,83,101,75,80,79,102,91,88,66,76,69,88,60,89,60,70,71,56,83,82,68,76,95,83,65,54,78,687,71,70,63,57,43,71,65,85,40]
plt.rcParams['font.sans-serif']=['SimHei']
plt.xlabel('分数')
plt.ylabel('学生数量')
plt.title('学生语文成绩分布直方图')
plt.hist(score,bins=range(0,150,10),facecolor='red',edgecolor='black')
plt.show()